home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / prbgi097.zip / DRIVERS.BAT < prev    next >
DOS Batch File  |  1992-12-15  |  601b  |  20 lines

  1. rem usage: DRIVERS  Destination_path  source_path
  2. rem This batch may be used to compile drivers.asm
  3. rem
  4. tasmx /ml /mx /i%2 %2drivers.asm , %1
  5. if errorlevel 1 goto tasm_err
  6. tlink %1drivers.obj
  7. exe2bin %1drivers.exe %1printers.def
  8. del %1drivers.exe
  9. del %1drivers.obj
  10. tasmx /ml /mx /DWithCode=1 /i%2 %2drivers.asm , %1
  11. if errorlevel 1 goto tasm_err
  12. if exist %1pdrivers.pa$ rename pdrivers.pa$  *.pas
  13. if exist %1pdrivers.pas tpc pdrivers.pas
  14. if exist %1prtgraph.lib tlib %1prtgraph.lib -+%1drivers.obj
  15. goto OK_end
  16. :tasm_err
  17. echo -----------> tasm error <-----------------
  18. exit
  19. :OK_end
  20.